package com.sxygsj.android.personnelscreen.plugin_jiguang.webserver.controller;

import com.sxygsj.android.personnelscreen.plugin_jiguang.main.MainActivity;
import com.yanzhenjie.andserver.annotation.PostMapping;
import com.yanzhenjie.andserver.annotation.ResponseBody;
import com.yanzhenjie.andserver.annotation.RestController;


@RestController
public class ViewLeaderController {
    @ResponseBody
    @PostMapping("/viewLeader")
    public String viewLeader(){
        return MainActivity.Companion.getShiftLeader().getText().toString()+"\n"
                +MainActivity.Companion.getShiftLeader().getText().toString()+"\n"+
                "滚动屏信息："+MainActivity.Companion.getRoll().getText().toString()+"\n"+
                "滚动屏播放速度："+MainActivity.Companion.getRoll().getTextSpeed();
    }
}
